
<h1><span class="yiyi-st" id="yiyi-12">numpy.ndarray.__setstate__</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.__setstate__.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.__setstate__.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="method">
<dt id="numpy.ndarray.__setstate__"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">ndarray.</code><code class="descname">__setstate__</code><span class="sig-paren">(</span><em>version</em>, <em>shape</em>, <em>dtype</em>, <em>isfortran</em>, <em>rawdata</em><span class="sig-paren">)</span></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">用于取出。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-15">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-16"><strong>版本</strong>：int</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-17">可选腌汁版本。</span><span class="yiyi-st" id="yiyi-18">如果省略，默认为0。</span></p>
</div></blockquote>
<p><span class="yiyi-st" id="yiyi-19"><strong>shape</strong>：tuple</span></p>
<p><span class="yiyi-st" id="yiyi-20"><strong>dtype</strong>：数据类型</span></p>
<p><span class="yiyi-st" id="yiyi-21"><strong>isFortran</strong>：bool</span></p>
<p><span class="yiyi-st" id="yiyi-22"><strong>rawdata</strong>：字符串或列表</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-23">一个带有数据的二进制字符串（如果“a”是一个对象数组，则为一个列表）</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
</dd></dl>
